package com.hfut.eeg.dto;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.dto
 * @Description: TODO
 * @date 2019-11-06 14:30
 */
//有部分字段用不上则作为保留字段
public class PatientSingleParam {

    @ApiModelProperty(value = "病人编号")
    private String patientId;

    @ApiModelProperty(value = "病人姓名")
    private String name;

    @ApiModelProperty(value = "病人性别")
    private String gender;

    @ApiModelProperty(value = "病人年龄")
    private int old;

    @ApiModelProperty(value = "病人病史")
    private String medicalHistory;

    @ApiModelProperty(value = "病人检查时间")
    private Timestamp checkTime;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "籍贯")
    private String birthPlace;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "出生日期")
    private Date birthDate;

    @ApiModelProperty(value = "病人手机号")
    private String phone;

    @ApiModelProperty(value = "病人检查状态")
    private int checkStatus;

    public PatientSingleParam() {
    }

    public PatientSingleParam(String patientId, String name, String gender,
                              int old, String medicalHistory, Timestamp checkTime,
                              String nation, String country, String birthPlace,
                              String idCard, Date birthDate, String phone, int checkStatus) {
        this.patientId = patientId;
        this.name = name;
        this.gender = gender;
        this.old = old;
        this.medicalHistory = medicalHistory;
        this.checkTime = checkTime;
        this.nation = nation;
        this.country = country;
        this.birthPlace = birthPlace;
        this.idCard = idCard;
        this.birthDate = birthDate;
        this.phone = phone;
        this.checkStatus = checkStatus;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getOld() {
        return old;
    }

    public void setOld(int old) {
        this.old = old;
    }

    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }

    public Timestamp getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Timestamp checkTime) {
        this.checkTime = checkTime;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getBirthPlace() {
        return birthPlace;
    }

    public void setBirthPlace(String birthPlace) {
        this.birthPlace = birthPlace;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(int checkStatus) {
        this.checkStatus = checkStatus;
    }

    @Override
    public String toString() {
        return "PatientSingleParam{" +
                "patientId='" + patientId + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", old=" + old +
                ", medicalHistory='" + medicalHistory + '\'' +
                ", checkTime=" + checkTime +
                ", nation='" + nation + '\'' +
                ", country='" + country + '\'' +
                ", birthPlace='" + birthPlace + '\'' +
                ", idCard='" + idCard + '\'' +
                ", birthDate=" + birthDate +
                ", phone='" + phone + '\'' +
                ", checkStatus=" + checkStatus +
                '}';
    }
}
